package com.ks.app.navigate.service;

import java.util.List;
import java.util.Map;

import com.ks.app.admin.util.Pager;
import com.ks.app.navigate.hibernate.KsNavigate;

public interface KsNavigateService {	
		
		//上线导航条
	 	public List<KsNavigate> findValidKsNavigate();
	 	//一级导航条
	 	public List<KsNavigate> findParentKsNavigate();
	 	//叶子导航条
	 	public List<KsNavigate> findLeafKsNavigate();
	 	//新增，修改导航条
	    public void saveKsNavigate(KsNavigate nav);
	    //搜索导航条
		public List<KsNavigate> findKsNavigateList(String name,long parentid,int status, Pager pager);
		//删除导航条
		public void deleteKsNavigates(String ids,String user);
		//由主键获取导航条
		public KsNavigate findKsNavigateById(long id);
		//获取导航树
		public Map<String,Object> findNavigateWebsite();
		
}
